package com.whmskj.xjlhsc.mobie.home.service.imp;

import com.whmskj.xjlhsc.mobie.home.mapper.FineYarnOutputMapper;
import com.whmskj.xjlhsc.mobie.home.pojo.FineYarnOutputVO;
import com.whmskj.xjlhsc.mobie.home.pojo.ProduceFineList;
import com.whmskj.xjlhsc.mobie.home.service.IFineYarnOutputService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author jiaruchun
 * @date 2025-09-15 17:34
 */
@Service
public class IFineYarnOutputServiceimp implements IFineYarnOutputService {

    @Autowired
    private FineYarnOutputMapper fineYarnOutputMapper;
    @Override
    public FineYarnOutputVO getFineYarnOutput() {
        FineYarnOutputVO fineData = fineYarnOutputMapper.getFineData();
        List<ProduceFineList> fineDataList = fineYarnOutputMapper.getFineDataList();
        fineData.setProduceFineList(fineDataList);
        return fineData;
    }
}
